import request from "@/utils/request";

// 进行预约
export const insert = (data) => {
  return request.post('/project/booking/insert',{
    ...data
  })
}

// 查询预约信息
export const getList = (obj) => {
  return request.get('/project/booking/list')
}

// 取消预约
export const delById = (id) => {
  return request.delete(`/project/booking/${id}`)
}